package com.ruoyi.project.insurance.contract.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * contract对象 contract
 *
 * @author ruoyi
 * @date 2022-02-08
 */
public class Contract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String insuranceNumber;

    /** 投保日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投保日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insuredDate;

    /** 生效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 失效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endingDate;

    /** 业务员代码 */
    @Excel(name = "业务员代码")
    private String userStaffCode;

    /** 业务员姓名 */
    @Excel(name = "业务员姓名")
    private String userName;

    /** 投保人姓名 */
    @Excel(name = "投保人姓名")
    private String applicantName;

    /** 投保人证件类型 */
    @Excel(name = "投保人证件类型")
    private String applicantIdType;

    /** 投保人证件号 */
    @Excel(name = "投保人证件号")
    private String applicantId;

    /** 投保人国籍 */
    @Excel(name = "投保人国籍")
    private String applicantNationality;

    /** 投保人现住址 */
    @Excel(name = "投保人现住址")
    private String applicantSite;

    /** 投保人电话 */
    @Excel(name = "投保人电话")
    private String applicantPhone;

    /** 被保人姓名 */
    @Excel(name = "被保人姓名")
    private String recognizeeName;

    /** 被保人证件类型 */
    @Excel(name = "被保人证件类型")
    private String recognizeeIdType;

    /** 被保人证件号 */
    @Excel(name = "被保人证件号")
    private String recognizeeId;

    /** 被保人国籍 */
    @Excel(name = "被保人国籍")
    private String recognizeeNationality;

    /** 被保人现住址 */
    @Excel(name = "被保人现住址")
    private String recognizeeSite;

    /** 险种编码 */
    @Excel(name = "险种编码")
    private String insuranceCode;

    /** 被保人电话 */
    @Excel(name = "被保人电话")
    private String recognizeePhone;

    /** 险种名称 */
    @Excel(name = "险种名称")
    private String insuranceName;

    /** 保费 */
    @Excel(name = "保费")
    private Integer insuranceExpense;

    /** 保额 */
    @Excel(name = "保额")
    private Integer insuranceQuota;

    /** 合同状态 */
    @Excel(name = "合同状态")
    private String status;

    /** 合同状态 */
    @Excel(name = "操作类型")
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setInsuranceNumber(String insuranceNumber)
    {
        this.insuranceNumber = insuranceNumber;
    }

    public String getInsuranceNumber()
    {
        return insuranceNumber;
    }
    public void setInsuredDate(Date insuredDate)
    {
        this.insuredDate = insuredDate;
    }

    public Date getInsuredDate()
    {
        return insuredDate;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndingDate(Date endingDate)
    {
        this.endingDate = endingDate;
    }

    public Date getEndingDate()
    {
        return endingDate;
    }
    public void setUserStaffCode(String userStaffCode)
    {
        this.userStaffCode = userStaffCode;
    }

    public String getUserStaffCode()
    {
        return userStaffCode;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setApplicantName(String applicantName)
    {
        this.applicantName = applicantName;
    }

    public String getApplicantName()
    {
        return applicantName;
    }
    public void setApplicantIdType(String applicantIdType)
    {
        this.applicantIdType = applicantIdType;
    }

    public String getApplicantIdType()
    {
        return applicantIdType;
    }
    public void setApplicantId(String applicantId)
    {
        this.applicantId = applicantId;
    }

    public String getApplicantId()
    {
        return applicantId;
    }
    public void setApplicantNationality(String applicantNationality)
    {
        this.applicantNationality = applicantNationality;
    }

    public String getApplicantNationality()
    {
        return applicantNationality;
    }
    public void setApplicantSite(String applicantSite)
    {
        this.applicantSite = applicantSite;
    }

    public String getApplicantSite()
    {
        return applicantSite;
    }
    public void setApplicantPhone(String applicantPhone)
    {
        this.applicantPhone = applicantPhone;
    }

    public String getApplicantPhone()
    {
        return applicantPhone;
    }
    public void setRecognizeeName(String recognizeeName)
    {
        this.recognizeeName = recognizeeName;
    }

    public String getRecognizeeName()
    {
        return recognizeeName;
    }
    public void setRecognizeeIdType(String recognizeeIdType)
    {
        this.recognizeeIdType = recognizeeIdType;
    }

    public String getRecognizeeIdType()
    {
        return recognizeeIdType;
    }
    public void setRecognizeeId(String recognizeeId)
    {
        this.recognizeeId = recognizeeId;
    }

    public String getRecognizeeId()
    {
        return recognizeeId;
    }
    public void setRecognizeeNationality(String recognizeeNationality)
    {
        this.recognizeeNationality = recognizeeNationality;
    }

    public String getRecognizeeNationality()
    {
        return recognizeeNationality;
    }
    public void setRecognizeeSite(String recognizeeSite)
    {
        this.recognizeeSite = recognizeeSite;
    }

    public String getRecognizeeSite()
    {
        return recognizeeSite;
    }
    public void setInsuranceCode(String insuranceCode)
    {
        this.insuranceCode = insuranceCode;
    }

    public String getInsuranceCode()
    {
        return insuranceCode;
    }
    public void setRecognizeePhone(String recognizeePhone)
    {
        this.recognizeePhone = recognizeePhone;
    }

    public String getRecognizeePhone()
    {
        return recognizeePhone;
    }
    public void setInsuranceName(String insuranceName)
    {
        this.insuranceName = insuranceName;
    }

    public String getInsuranceName()
    {
        return insuranceName;
    }
    public void setInsuranceExpense(Integer insuranceExpense)
    {
        this.insuranceExpense = insuranceExpense;
    }

    public Integer getInsuranceExpense()
    {
        return insuranceExpense;
    }
    public void setInsuranceQuota(Integer insuranceQuota)
    {
        this.insuranceQuota = insuranceQuota;
    }

    public Integer getInsuranceQuota()
    {
        return insuranceQuota;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("insuranceNumber", getInsuranceNumber())
                .append("insuredDate", getInsuredDate())
                .append("startDate", getStartDate())
                .append("endingDate", getEndingDate())
                .append("userStaffCode", getUserStaffCode())
                .append("userName", getUserName())
                .append("applicantName", getApplicantName())
                .append("applicantIdType", getApplicantIdType())
                .append("applicantId", getApplicantId())
                .append("applicantNationality", getApplicantNationality())
                .append("applicantSite", getApplicantSite())
                .append("applicantPhone", getApplicantPhone())
                .append("recognizeeName", getRecognizeeName())
                .append("recognizeeIdType", getRecognizeeIdType())
                .append("recognizeeId", getRecognizeeId())
                .append("recognizeeNationality", getRecognizeeNationality())
                .append("recognizeeSite", getRecognizeeSite())
                .append("insuranceCode", getInsuranceCode())
                .append("recognizeePhone", getRecognizeePhone())
                .append("insuranceName", getInsuranceName())
                .append("insuranceExpense", getInsuranceExpense())
                .append("insuranceQuota", getInsuranceQuota())
                .append("status", getStatus())
                .append("type", getType())
                .toString();
    }
}
